//
//  FindTableCell.m
//  TenThousand
//
//  Created by 我的 on 16/6/30.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "FindTableCell.h"

@implementation FindTableCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}


-(void)drawRect:(CGRect)rect{
    
    _backView.layer.cornerRadius = 5;
    _backView.layer.masksToBounds = YES;
    
    _iconImageView.layer.cornerRadius = 5;
    _iconImageView.layer.masksToBounds = YES;
}



- (void)setDataWithModel:(GetNewListModel *)model{
    _titleLable.text = model.NewTitel;
    [_iconImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ImageUrl,model.NewImage]] placeholderImage:[UIImage imageNamed:@"1111112123123"]];
    _timerLable.text = [NSString stringWithFormat:@"%@", model.AddDate];
}

@end
